package org.nepu.srr.domain.equipmentdata;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nepu.srr.domain.equipmentdata.converter.CommonInputConverter;
import org.nepu.srr.domain.equipmentdata.vo.CommonInput;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
@ApiModel(value = "环保设备证书参数")
public class EnvironmentalProtectionCertificateParams {

    @ApiModelProperty("污水分离器")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "sewage_separator")
    CommonInput sewageSeparator;

    @ApiModelProperty("粪便处理器")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "feces_processor")
    CommonInput fecesProcessor;

    @ApiModelProperty("钻屑回收装置")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "sludge_recycling_device")
    CommonInput sludgeRecyclingDevice;
}
